package net.huashitong.user.filter;

import com.sirdc.modules.core.filter.BaseFilter;

import java.math.BigInteger;
import java.util.List;

public class OnlineFilter extends BaseFilter {
    private String name;        //姓名
    private String phone;       //联系电话
    private BigInteger num;        //统计次数
    private String startDate;      //开始时间
    private String endDate;        //结束时间
    private String role;            //角色
    private String branch;          //单位
    private String branchType;          //单位类型
    private Integer page;       //页面

    private String currentPage;


    private List<String> exportHead;
    private List<String> sysids;

    public List<String> getExportHead() {
        return exportHead;
    }

    public void setExportHead(List<String> exportHead) {
        this.exportHead = exportHead;
    }

    public List<String> getSysids() {
        return sysids;
    }

    public void setSysids(List<String> sysids) {
        this.sysids = sysids;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public BigInteger getNum() {
        return num;
    }

    public void setNum(BigInteger num) {
        this.num = num;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(String currentPage) {
        this.currentPage = currentPage;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        if(role.equals("1")){
            this.role = "副县长";
        }else if(role.equals("2")){
            this.role = "经办人";
        }else if(role.equals("3")){
            this.role = "责任人";
        }else if(role.equals("4")){
            this.role = "领导";
        }
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getBranchType() {
        return branchType;
    }

    public void setBranchType(String branchType) {
        this.branchType = branchType;
    }
}
